package edu.upc.clase.demo.service.impl;

import edu.upc.clase.demo.dao.DiaDao;
import edu.upc.clase.demo.dao.impl.DiaDaoImpl;
import edu.upc.clase.demo.entity.Dia;
import edu.upc.clase.demo.service.DiaService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @Six-Group-Upc
 *
 */
@Service
public class DiaServiceImpl implements DiaService {

    private static Logger log = LoggerFactory.getLogger(DiaDaoImpl.class);    
    
    @Autowired
    private DiaDao diaDao;


    @Override
    public List<Dia> buscarTodos() {
        log.info("Buscando todos los ubigeos");
        return diaDao.buscarTodos();
    }

//    @Override
//    public Cancha buscar(Integer id) {
//        log.info("Buscar cancha por id");
//        return canchaDao.buscar(id);
//    }


}
